<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>日程安排</title>
    <jsp:include page="/static/common/commonHead.jsp"/>
    <!-- FullCalendar的依赖 -->
    <link href="/static/plugins/fullcalendar-3.9.0/fullcalendar.css" rel="stylesheet">
    <script type="text/javascript" src="/static/plugins/fullcalendar-3.9.0/lib/moment.min.js"></script>
    <script type="text/javascript" src="/static/plugins/fullcalendar-3.9.0/fullcalendar.min.js"></script>
    <script type="text/javascript" src="/assets/js/datepicker/bootstrap-datetimepicker.js"></script>
    <script type="text/javascript" src="/static/js/calendarPlan/calendarPlan.js"></script>
</head>
<body>
<div id="toolbars">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add();">新建</a>
</div>
<div id="calendar"></div>
<div id="dialog">
    <form id="editForm" method="post">
        <input type="hidden" name="id" id="id">
        <div style="margin-left: 30px; margin-top: 15px;">
            <input class="easyui-datebox" name="startDate" data-options="label:'开始日期:',labelWidth:60,width:220">
        </div>
        <div style="margin-left: 30px; margin-top: 15px;">
            <input class="easyui-datetimebox" name="startTime" data-options="label:'开始时间:',labelWidth:60,width:220">
        </div>
        <div style="margin-left: 30px; margin-top: 15px;">
            <input class="easyui-datebox" name="endDate" data-options="label:'结束日期:',labelWidth:60,width:220">
        </div>
        <div style="margin-left: 30px; margin-top: 15px;">
            <input class="easyui-datetimebox" name="endTime" data-options="label:'结束时间:',labelWidth:60,width:220">
        </div>
        <div style="margin-left: 30px; margin-top: 15px;">
            <input class="easyui-textbox" name="title" data-options="label:'标题:',labelWidth:60,width:220">
        </div>
        <div style="margin-left: 30px; margin-top: 15px;">
            <input class="easyui-textbox" name="description" data-options="label:'备注:',labelWidth:60,width:220">
        </div>
    </form>
    <div id="buttons">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" onclick="submits();">保存</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="delete">删除</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true" onclick="cancel();">取消</a>
    </div>
</div>
</body>
</html>
